<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML>
<html>
<head>
<c:set var="path" value="${pageContext.request.contextPath}"
	scope="page" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<link rel="stylesheet" type="text/css" href="${path}/css/ustyle.css">
<link rel="stylesheet" type="text/css" href="${path}/css/user_pager.css">
<link rel="stylesheet" type="text/css" href="${path}/css/zui.min.css">
<script type="text/javascript" src="${path}/js/zui.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="${path}/js/musge.js"></script>


</HEAD>
<BODY>
	<!--上面的导航条-->
	<div class="note_header">
		<!--LOGO-->
		<div
			style="float: right; height: 35px; padding: 6px 20px; width: 20%;">
			<img class="header_img" src="${path}/images/user_w.png"
				id="img_fastdoor" />
			<!-- -->
			<ul class="box_fastdoor">
				<li><a href="${path}/ShowMainPageByUser">主页</a></li>
				<li><a href="ShowBriefNoteController">笔记</a></li>
				<li><a href="${path}/ShowJobControllerByUser">招聘</a></li>
				<li><a href="${path}/ShowNewsControllerByUser">新闻</a></li>
			</ul>

			<!-- -->
			<a href="#"><img class="header_img"
				src="${path}/images/logout_w.png" /></a>
		</div>
		<div style="width: 40%; height: 47px; margin: 5px;">
			<img src="${path}/images/logo_w.png" />
		</div>



	</div>
	<!--Body-->
	<div style="width: 100%; height: 730px;; padding-top: 48px;">
		<div class="note_body center-block">

			<div class="sub_title">
				<h1 style="color: #3280FC; padding-top: 5px;">求知广场</h1>
			</div>


			<div
				style="width: 100%; border-bottom: #666 2px solid; height: 35px;">
				<h2 style="color: #3280FC; padding-top: 5px;" id="pl_subt1">广场中心</h2>
				<!--  <h2 style="color:#3280FC; margin-top:5px; display:none" id="pl_subt2">广场中心2</h2>
  <h2 style="color:#3280FC; margin-top:5px; display:none" id="pl_subt3">广场中心3</h2>-->
			</div>
			<!--main middle body-->
			<div class="box_pl_main">
				<!-- question -->
				<div class="f_right box_pl_qus">
					<div class="center-block pl_qus">
						<div class="pl_qus_title">
							最新问题 <a href="${path}/ShowMoreQuestionController" class="more">More-></a>
						</div>
						<table class="pl_qus_table">
							<c:choose>
								<c:when test="${empty(questions)}">目前还未有人提问！</c:when>
								<c:otherwise>
									<tr>
										<th width="80%">Question</th>
										<th>Reply</th>
									</tr>
									<c:forEach var="question" items="${questions}" begin="0"
										end="9">
										<tr>
											<td>${question[2]}</td>
											<td>${question[7]}</td>
										</tr>
									</c:forEach>
								</c:otherwise>
							</c:choose>
						</table>
					</div>
				</div>
				<!-- blog share-->
				<div class="f_left box_pl_share">
					<div class="center-block pl_share">
						<div class="pl_share_title">
							最火分享 <a href="#" class="more"></a>
						</div>
						<table class="pl_share_table">
							<c:choose>
								<c:when test="${empty(blogs.list)}">还没有写博客哦！</c:when>
								<c:otherwise>
									<tr>
										<th width="75%">Title
										<th>Viewed</th>
									</tr>
									<c:forEach var="blog" items="${blogs.list}">
										<tr>
											<td>${blog.title}</td>
											<td>${blog.click}</td>
										</tr>
									</c:forEach>
								</c:otherwise>
							</c:choose>
						</table>
					</div>
				</div>
			</div>
			<!--Body center div end blow-->
			<!--FOOT -->
			<div class="user_foot">Copyrights(C)1997-2014 求知无限有限公司 Thirsty
				for Knowledge Co.Ltd 版权所有 不得转载</div>
			<!--FOOT END-->

		</div>
	</div>


</BODY>
</html>
